// @Author: Duanxj
// @Description:
// @Version: 1.0.0
// @Date: 2021/1/25
// @Time: 9:25

package controler

// todo controler尚未使用 目前是直接 clients层==>routers层==>services层==>clients层
import (
	"github.com/gin-gonic/gin"
)

type UserControler struct {
}

func (user *UserControler) Router(engine *gin.Engine) {
	engine.GET("/hello", user.User)
}

func (user *UserControler) User(c *gin.Context) {
	c.JSON(200, gin.H{"hello": "hello"})
}
